package edu.zqu.specialty.project.domain.pojo;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 专业培养方案
 * </p>
 *
 * @author 郭泽鹏
 * @since 2020-06-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SpecialtyTrainingProgram对象", description="专业模块：专业培养方案")
public class SpecialtyTrainingProgram implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "专业培养方案id")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "学校id")
    private Long collegeId;

    @ApiModelProperty(value = "专业id")
    private Long specialtyId;

    @ApiModelProperty(value = "培养目标")
    private String trainingTarget;

    @ApiModelProperty(value = "培养规划")
    private String trainingSpecifications;

    @ApiModelProperty(value = "毕业所需的总学分")
    private BigDecimal totalCredits;

    @ApiModelProperty(value = "毕业所需的平均绩点")
    private BigDecimal gpa;

    @ApiModelProperty(value = "毕业所需的必修课总学分")
    private BigDecimal compilsoryCredits;

    @ApiModelProperty(value = "毕业所需的必修课平均绩点")
    private BigDecimal complisoryGpa;

    @ApiModelProperty(value = "毕业所需的选修课总学分")
    private BigDecimal electiveCredits;

    @ApiModelProperty(value = "毕业所需的选修课平均绩点")
    private BigDecimal electiveGpa;

    @ApiModelProperty(value = "毕业所需的专业课程总学分")
    private BigDecimal specialtyCredits;

    @ApiModelProperty(value = "毕业所需的专业课程平均绩点")
    private BigDecimal specialtyGpa;

    @ApiModelProperty(value = "毕业所需的实践课程总学分")
    private BigDecimal practiceCredits;

    @ApiModelProperty(value = "毕业所需的实践课程平均绩点")
    private BigDecimal practiceGpa;

    @ApiModelProperty(value = "毕业所需的教育课程总学分")
    private BigDecimal educateCredits;

    @ApiModelProperty(value = "毕业所需的教育课程平均绩点")
    private BigDecimal educateGpa;

    @ApiModelProperty(value = "版本，如：v2016.5.12")
    private String version;

    @ApiModelProperty(value = "作者，执笔人")
    private Long authorId;

    @ApiModelProperty(value = "审核人")
    private Long auditorId;

    @ApiModelProperty(value = "创建时间")
      @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "操作者")
    private Long byWho;

    @ApiModelProperty(value = "本记录是否有效")
    @TableLogic
    private Boolean deleted;

    @ApiModelProperty(value = "历史版本")
    @Version
    private Long lastVersion;


}
